<?php

$yii=dirname(__FILE__).'/yii/yii.php';

require_once($yii);

$config = CMap::mergeArray(
	require(dirname(__FILE__).'/protected/config/main.php'),
	require(dirname(__FILE__).'/protected/config/main.local.php')
);

Yii::createWebApplication($config)->run();
